<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>13.重复栅格的命名技巧</title>
  <style>
    article {
      width: 300px;
      height: 300px;
      border: solid 5px silver;
      display: grid;
      grid-template-rows: repeat(3,[r-start] 1fr [r-end]);
      grid-template-columns: repeat(3,[c-start] 1fr [c-end]);

    }

    div {
      background-color: blueviolet;
      background-clip: content-box;
      box-sizing: border-box;
      padding: 10px;
      border: solid 2px #DDD;
    }
   div:first-child {
      grid-row-start: r-start 2;
      grid-column-start: c-start 1;
      grid-row-end: r-end 2;
      grid-column-end: c-end 3;
    }
 
  </style>
</head>

<body>
  <article>
    <div>1</div>

  </article>
</body>

</html>